{% extends "common.html" %}
{% block content %}
<ul>
{% for val in data%}
	<li class="am-u-sm-3">
		<div>
			<h1>{{val.title}}</h1>
			<p>{{val.content}}</p>
			<p><span>{{val.createtime|date('Y-m-d H:i:s')}}</span></p>
			<a class="" href="/myframework/index/del/id/{{val.id}}">删除留言</a>
		</div>
	</li>
{% endfor %}
</ul>
{% endblock %}